package com.accp.vehiclecare.biz.lscbiz;

import com.accp.vehiclecare.dao.lscdao.Lscvehiclebrand;
import com.accp.vehiclecare.pojo.Vehiclebrand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class LscvehiclebrandBiz {
    @Autowired
    private Lscvehiclebrand dao;

    @Transactional(propagation = Propagation.SUPPORTS, isolation = Isolation.READ_COMMITTED, readOnly = true)
    public List<Vehiclebrand> querall(){
        return dao.selectList(null);
    }
}
